//
//  U9ForumManager.h
//  U9WatchGame
//
//  Created by uuu9 on 2018/7/23.
//  Copyright © 2018年 UUU9. All rights reserved.
//
//社区

#import "BaseNetManager.h"
@class U9PostDetailModel,U9PostListModel,U9MessageListModel,U9ForumCategoryModel,U9MessageCommonModel,U9MyFolMessageListModel;

@interface U9ForumManager : BaseNetManager

+ (void)replyingPostWithUserid:(NSString *)userid andSession:(NSString *)session andPostID:(NSString *)postID andContent:(NSString *)content andParentID:(NSString *)parentID andGameID:(NSString *)gID andCompletionHandle:(void (^)(U9MessageListModel *model, NSError *error))complete;;

+ (void)getPostReplyListWithPostID:(NSString *)postID andPage:(NSString *)p andCompletionHandle:(void (^)(U9MessageListModel *model, NSError *error))complete;


+ (void)getCommentReplyListWithPostID:(NSString *)postID andReplyID:(NSString *)replyID andPage:(NSString *)p andCompletionHandle:(void (^)(U9MessageListModel *model, NSError *error))complete;

+ (void)getPostListWithUserid:(NSString *)userid andSession:(NSString *)session andGameID:(NSString *)gid andPageNum:(NSString *)page andCompletionHandle:(void (^)(U9PostListModel *model, NSError *error))complete;

+ (void)getPostDetailWithUserid:(NSString *)userid andSession:(NSString *)session andPostID:(NSString *)postID andCompletionHandle:(void (^)(U9PostDetailModel *model, NSError *error))complete;


+(void)getMyPostListWithUserid:(NSString *)userid andSession:(NSString *)session andPageNum:(NSString *)page andCompletionHandle:(void (^)(U9PostListModel *model, NSError *error))complete;

+(void)getMyPostReplyListWithUserid:(NSString *)userid andSession:(NSString *)session andPageNum:(NSString *)page andCompletionHandle:(void (^)(U9MyFolMessageListModel *model, NSError *error))complete;

+ (void)postingPostWithUserid:(NSString *)userid andSession:(NSString *)session andContent:(NSString *)content andTitle:(NSString *)title andGameID:(NSString *)gID andImage:(NSString *)image andCompletionHandle:(void (^)(U9PostListModel *model, NSError *error))complete;
+ (void)getGameCatagoryWithUserid:(NSString *)userid andSession:(NSString *)session andGameID:(NSString *)gID andCompletionHandle:(void (^)(U9ForumCategoryModel *model, NSError *error))complete;

+ (void)onLikeWithUserid:(NSString *)userid andSession:(NSString *)session PostID:(NSString *)postID andCompletionHandle:(void (^)(U9MessageCommonModel *model, NSError *error))complete;

+ (void)cancelLikeWithUserid:(NSString *)userid andSession:(NSString *)session PostID:(NSString *)postID andCompletionHandle:(void (^)(U9MessageCommonModel *model, NSError *error))complete;
@end
